#!/usr/bin/env python
# coding: utf-8

from sys import argv
from urllib import urlopen

if len(argv)==1:
  url=raw_input("Digite a Url: ")
else:
  url=argv[1]


print url

if not url.startswith('http'): 
  url = "http://" + url

print 'Buscando: ' + 'url'
f = urlopen(url)
s = f.read()
print s[:40]
